package t3;

import java.util.List;

import t3bean.CarBean;
import t3bean.ParkingSpaceBean;

/**
 * 增加停车位操作
 *
 */
public class AddParkingSpace {
	public List<ParkingSpaceBean> addParkingSpace(Integer id, List<ParkingSpaceBean> spaceList) {
		CarBean car = new CarBean(" ", 0);
		ParkingSpaceBean ps = new ParkingSpaceBean(id, car);
		spaceList.add(ps);
		return spaceList;
	}
}
